{include file="public/header" /}
<body class="hide-top">
<div class="submit-container">
    <img src="/static/index/img/icon76.png" alt="">
    <div class="submit-content">
        <div class="submit-hd flex-center">
            <i class="layui-icon layui-icon-left"></i>账户余额
        </div>

        <div class="wallet-det flex-center">
            <div>{$title}余额</div>
            <p>￥<span><?php echo $user->assets->$type?></span></p>
        </div>

        <div class="wallet-det-content">
            <p class="title">账户明细</p>
            <ul class="tpl_list"></ul>
        </div>
    </div>
</div>
<script id="template" type="text/html">
    {{# for(var i=0;i < d.data.length ;i++){ }}
    <li>
        <p class="flex-layout">{{d.data[i].intro}} <span>{{d.data[i].fx}}￥{{d.data[i].amount}}</span></p>
        <div class="flex-layout">{{d.data[i].create_time}} <span>余额：￥{{d.data[i].after}}</span></div>
    </li>
    {{# } }}
</script>
</body>
{include file="public/footer"/}
<script>
    $(function () {
        getFlow('{$type}', "{:url('account/getList')}");
    })

</script>
</html>